package com.wyvoid.core.persistent;

/**
 * 分页的查询条件
 * User: cjp
 * Date: 2006-9-17
 * Time: 20:16:40
 */
public class Pagination {
    private int pageNumber =1;

    private int totalRows;

    private int pageSize=20;

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public int getTotalRows() {
        return totalRows;
    }

    public void setTotalRows(int totalRows) {
        this.totalRows = totalRows;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
